//
//  RootViewController.h
//  AirTicket
//
//  Created by imac.bmw on 10-12-15.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "InfoMgrViewController.h"
#import "OrderMgrViewController.h"
#import "CardViewController.h"

@protocol RootViewControllerDelegate;

@interface RootViewController : UIViewController<UITableViewDelegate, UITableViewDataSource> {

	UITableView *table;
	id<RootViewControllerDelegate> delegate;
	
}
@property (nonatomic, assign)id<RootViewControllerDelegate> delegate;
@property (nonatomic, retain)UITableView *table;

-(void)processPackage:(NSData *)packageData;
@end

@protocol RootViewControllerDelegate

-(void)loginDidSuccessWithMsg:(NSString *)msg;

@end

//--------------------------------------------

//----------------------------------------
@interface NSString (convertCode) 

-(NSString *)convertCitycode;
-(NSString *)covertAircode;
-(NSString *)convertDate;
@end
//---------